/*
 *    Copyright 2022 jacky4631 shen ji email:121659050@qq.com
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package com.dataoke.shoppingguide.app773026.bean;


import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;
/**
 *
 * @author: shen ji
 * @date: 2022/3/15
 * @email: 121659050@qq.com
 * @wechat: jacky4631
 */
public class ProductItemBean {

    private String id;

    @JSONField(name="itemendprice")
    private String itemEndPrice;
    @JSONField(name="itemprice")
    private String itemPrice;

    @JSONField(name="itempic")
    private String itemPic;
    @JSONField(name="itemtitle")
    private String itemTitle;

    @JSONField(name="video_url")
    private String videoUrl;

    @JSONField(name="taobao_image_qiniu")
    private List<String> taobaoImages;

    @JSONField(name="itemshorttitle")
    private String itemShotTitle;

    @JSONField(name="itemsale")
    private String itemSale;

    @JSONField(name="label")
    private List<String> label;

    @JSONField(name = "activityid")
    private String activityId;

    @JSONField(name = "itemid")
    private String itemId;

    @JSONField(name = "couponlife")
    private String couponLife;

    @JSONField(name = "itemdesc")
    private String itemDesc;

    @JSONField(name="itemsale2")
    private String itemSale2;
    @JSONField(name="couponmoney")
    private Integer couponMoney;



    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getItemEndPrice() {
        return itemEndPrice;
    }

    public void setItemEndPrice(String itemEndPrice) {
        this.itemEndPrice = itemEndPrice;
    }

    public String getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(String itemPrice) {
        this.itemPrice = itemPrice;
    }

    public String getItemPic() {
        if(itemPic.startsWith("http:")){
            itemPic = itemPic.replace("http:", "https:");
        }
        return itemPic;
    }

    public void setItemPic(String itemPic) {
        this.itemPic = itemPic;
    }

    public String getItemTitle() {
        return itemTitle;
    }

    public void setItemTitle(String itemTitle) {
        this.itemTitle = itemTitle;
    }

    public String getItemShotTitle() {
        return itemShotTitle;
    }

    public void setItemShotTitle(String itemShotTitle) {
        this.itemShotTitle = itemShotTitle;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public List<String> getTaobaoImages() {
        return taobaoImages;
    }

    public void setTaobaoImages(List<String> taobaoImages) {
        this.taobaoImages = taobaoImages;
    }

    public String getItemSale() {
        return itemSale;
    }

    public void setItemSale(String itemSale) {
        this.itemSale = itemSale;
    }

    public List<String> getLabel() {
        return label;
    }

    public void setLabel(List<String> label) {
        this.label = label;
    }

    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getCouponLife() {
        return couponLife;
    }

    public void setCouponLife(String couponLife) {
        this.couponLife = couponLife;
    }

    public String getItemDesc() {
        return itemDesc;
    }

    public void setItemDesc(String itemDesc) {
        this.itemDesc = itemDesc;
    }

    public String getItemSale2() {
        return itemSale2;
    }

    public void setItemSale2(String itemSale2) {
        this.itemSale2 = itemSale2;
    }

    public Integer getCouponMoney() {
        return couponMoney;
    }

    public void setCouponMoney(Integer couponMoney) {
        this.couponMoney = couponMoney;
    }
}
